package com.ds.infra.ibatis.transaction.annotation;

import com.ds.infra.ibatis.config.TransactionConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

// 启用注解
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(TransactionConfig.class)
public @interface EnableIbatisTransaction {}
